package top.huntwolf.admin.common.enums;


import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum  OrderType implements EnumValue{

    /*买书*/
    BUY((short)0,"买书"),

//    /*租书*/
//    RENT((short)1,"租书"),

    /*卖书*/
    SALE((short)1,"卖书");

    private final short value;
    private final String desc;

    public short value() {
        return value;
    }

    public String desc() {
        return desc;
    }

    @Override
    public Object toValue() {
        return value;
    }
}
